package com.gitee.linmt.properties;

import com.gitee.linmt.base.BaseDictionaryEnum;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author lin-mt
 * @version 1.0.0
 * @since 1.0.0
 */
@ConfigurationProperties(prefix = ConfigProperties.MYBATIS_DICTIONARY_ENUM_PREFIX)
public class ConfigProperties {

    public static final String MYBATIS_DICTIONARY_ENUM_PREFIX = "dictionary-enum.jpa";

    private String enumPackages;

    private Class<? extends BaseDictionaryEnum> baseEnumClass;

    public String getEnumPackages() {
        return enumPackages;
    }

    public void setEnumPackages(String enumPackages) {
        this.enumPackages = enumPackages;
    }

    public Class<? extends BaseDictionaryEnum> getBaseEnumClass() {
        return baseEnumClass;
    }

    public void setBaseEnumClass(Class<? extends BaseDictionaryEnum> baseEnumClass) {
        this.baseEnumClass = baseEnumClass;
    }


}
